home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
formats
/
moviebyu.txt
< prev
next >
Wrap
Internet Message Format
|
1991-03-14
|
2KB
From drb@eecg.toronto.edu Fri Mar 15 08:22:08 1991
From: drb@eecg.toronto.edu (David R. Blythe)
Newsgroups: comp.graphics.visualization
Subject: Re: apE and AVS pricing
Keywords: apE, AVS
Date: 14 Mar 91 04:32:02 GMT
Organization: EECG, University of Toronto
In article <38945@netnews.upenn.edu> joe@retina.anatomy.upenn.edu (Joseph Panico) writes:
>in MOVIE.BYU format. Where can I get MOVIE.BYU and the data formats for
>both MOVIE.BYU and Wavefront's personal visualizer?
>
> Joe Panico
> joe@retina.anatomy.upenn.edu
The movie.byu geometry file format looks like this:
write(iunit,80) npn,njn,nptn,nedge
write(iunit,80) ((npl(i,j),i=1,2),j=1,npn)
write(iunit,100) ((x(i,j),i=1,3),j=1,njn)
write(iunit,80) (jp(i),i=1,nedge)
80 format(10i8)
100 format(6e12.5)
where npn = number of parts (geometric objects)
njn = number of nodes (total number of vertices)
nptn = number of polygons (total over all parts)
nedge = number of edges (total over all polygons in all parts)
npl = array of pairs of indices into connectivity array for
start polygon node and end polygon node for each part
(if there is 1 part then it is a single line = 1 and nedge)
x = array of 3D vertices
jp = connectivity array - indices of vertices in x array
making up a polygon with a negative index indicating the last
vertex of a polygon (an n-sided polygon would have n entries in
the connectivity array and the n-th entry would be negated).
I have seen a number of programs that understand this format so its probably
worth knowing. So does anybody know the file formats for the personal
visualizer?
david blythe
ontario centre for large scale computation
drb@clsc.utoronto.ca